package com.maybach.core.form.carFormalities;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created by weishuai on 16/1/14.
 */
public class CarFormalitiesForm implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private Long outOrderId;
    private String receiveTime;

    @NotBlank(message = "接收物流公司")
    private String receiveCompany;

    @NotBlank(message = "接收物流单号")
    private String receiveNo;

    private List<String> formalitiesImgs;

    private String sendTime;

    @NotBlank(message = "发送物流公司")
    private String sendCompany;

    @NotBlank(message = "发送物流单号")
    private String sendNo;

    private List<String> logisticsImgs;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(String receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getReceiveCompany() {
        return receiveCompany;
    }

    public void setReceiveCompany(String receiveCompany) {
        this.receiveCompany = receiveCompany;
    }

    public String getReceiveNo() {
        return receiveNo;
    }

    public void setReceiveNo(String receiveNo) {
        this.receiveNo = receiveNo;
    }

    public List<String> getFormalitiesImgs() {
        return formalitiesImgs;
    }

    public void setFormalitiesImgs(List<String> formalitiesImgs) {
        this.formalitiesImgs = formalitiesImgs;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getSendCompany() {
        return sendCompany;
    }

    public void setSendCompany(String sendCompany) {
        this.sendCompany = sendCompany;
    }

    public String getSendNo() {
        return sendNo;
    }

    public void setSendNo(String sendNo) {
        this.sendNo = sendNo;
    }

    public List<String> getLogisticsImgs() {
        return logisticsImgs;
    }

    public void setLogisticsImgs(List<String> logisticsImgs) {
        this.logisticsImgs = logisticsImgs;
    }

    public Long getOutOrderId() {
        return outOrderId;
    }

    public void setOutOrderId(Long outOrderId) {
        this.outOrderId = outOrderId;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}
